package com.github.androiddevelopmentframework;

import android.view.View;
import android.widget.Button;

import com.github.freewu.mvp.presenter.Presenter;
import com.github.freewu.mvp.view.BaseActivity;

/**
 * Created by free on 16-10-17.
 */

public class LoadingActivity extends BaseActivity implements View.OnClickListener{

    Button button;

    @Override
    public int getLayout() {
        return R.layout.activity_loading;
    }

    @Override
    public void initView(View mView) {
        button=(Button)mView.findViewById(R.id.button);
        button.setOnClickListener(this);
    }

    @Override
    public void initData() {

    }

    @Override
    public void onClick(View v) {
        getStatusController().showLoadingView();
    }
}
